Xbasic

TextToSpeech Function

Syntax

V TextToSpeech(C text )

Arguments

text

Text that you want read aloud

Description

Converts text to speech using the .NET Framework

Example

'this probably won't sound right
texttospeech("help me, obiwan kenobe")
'help the speech system with phonetic spelling
texttospeech("help me, oh bee wan ken oh bee")
'sometimes it comes out right without help
texttospeech("My name is Inigo montoya. you killed my father. prepare to die")

See Also